package com.okaixz.client.model.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author cdz
 * @since 2024-11-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("share_info")
@ApiModel(value="ShareInfo对象", description="")
public class ShareInfoDto implements Serializable {

    private static final long serialVersionUID = 1L;


    private Long id;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "被邀请用户id")
    private String inviteUserId;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "被邀请用户昵称")
    private String inviteUserNickName;

    @ApiModelProperty(value = "被邀请用户头像链接")
    private String inviteUserImage;

    @ApiModelProperty(value = "类型")
    private Integer type;

    @ApiModelProperty(value = "状态0未领取1已领取")
    private Integer status;

    @ApiModelProperty(value = "客户端名称")
    private String clientName;


}
